package main

import (
	"jhcegg-fry/appconfig"
	"jhcegg-fry/models"
	"jhcegg-fry/router"
)

func main() {
	// 1.创建路由
	//加载配置
	appconfig.Init()
	r := router.Init()
	models.InitDB()
	r.Run(":8000")
}
